<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="com.mc.lp.view.constants.*;"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://www.springframework.org/security/tags" prefix="sec"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<div>
	<div class="alert alert-success alert-dismissable">
    <i class="fa fa-search"></i>
    Student Search
    </div>
	<table class="table table-hover wraped-table success">
		<tr>
			<th width="5%">S.No</th>
			<th>Registration Id</th>
			<th>Mobile Number</th>
			<th>Email Address</th>
			<th>First Name</th>
			<th>Last Name</th>
			<th>Address</th>
		</tr>
		<tr style="cursor: pointer;" ng-repeat="row in searchResult" ng-show="isResultFound" ng-click="LMCntrl.showStudentInfo(row.entityId)">
			<td>{{$index+1}}</td>
			<td>{{row.registrationNumber}}</td>
			<td>{{row.contactNo}}</td>
			<td>{{row.email}}</td>
			<td>{{row.firstName}}</td>
			<td>{{row.lastName}}</td>
			<td>{{row.fullAddress}}</td>
		</tr>
		
		<tr ng-hide="(isResultFound)">
			<td colspan="7">Nothing to display</td>
		</tr>
	</table>
</div>